package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Permission;

import java.util.Set;

public interface PermissionDao {
    void add(Permission permission);

    Page<Permission> findPage(String queryString);

    void edit(Permission permission);

    void delete(int id);

    Set<Permission> findPermissionById(Integer id1);
}
